package hn.cch.reactive.entity;



public class Message {

    private String code;
    private String data;

    public static Message success(){
        Message message = new Message();
        message.code = "200";
        return message;
    }

    public static Message failed(){
        Message message = new Message();
        message.code = "400";
        return message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
